﻿@page "/cascaders"
@inject IStringLocalizer<Cascaders> Localizer

<h3>@Localizer["Title"]</h3>

<DemoBlock Title="@Localizer["Block1Title"]" Introduction="@Localizer["Block1Intro"]" Name="Normal" Demo="typeof(Demos.Cascader.CascaderNormal)" />

<DemoBlock Title="@Localizer["Block2Title"]" Introduction="@Localizer["Block2Intro"]" Name="Disabled" Demo="typeof(Demos.Cascader.CascaderDisabled)" />

<DemoBlock Title="@Localizer["Block3Title"]" Introduction="@Localizer["Block3Intro"]" Name="Bind" Demo="typeof(Demos.Cascader.CascaderBind)" />

<DemoBlock Title="@Localizer["Block4Title"]" Introduction="@Localizer["Block4Intro"]" Name="ValidateForm" Demo="typeof(Demos.Cascader.CascaderValidateForm)" />

<DemoBlock Title="@Localizer["Block5Title"]" Introduction="@Localizer["Block5Intro"]" Name="Color" Demo="typeof(Demos.Cascader.CascaderColor)" />

<DemoBlock Title="@Localizer["BlockParentSelectableTitle"]" Introduction="@Localizer["BlockParentSelectableIntro"]" Name="ParentSelectable" Demo="typeof(Demos.Cascader.CascaderParentSelectable)" />

<DemoBlock Title="@Localizer["BlockShowFullLevelsTitle"]" Introduction="@Localizer["BlockShowFullLevelsIntro"]" Name="ShowFullLevels" Demo="typeof(Demos.Cascader.CascaderShowFullLevels)" />

<DemoBlock Title="@Localizer["Block6Title"]" Introduction="@Localizer["Block6Intro"]" Name="Labels" Demo="typeof(Demos.Cascader.CascaderLabels)">
    <p>@((MarkupString)Localizer["Description"].Value)</p>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />

<EventTable Items="@GetEvents()" />
